package com.cdh.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdh.edu.entity.Teacher;

import java.util.List;
import java.util.Map;

/**
 * @author cdh
 * @since 2020-10-19
 */
public interface TeacherService extends IService<Teacher> {

    /**
     * 删除头像
     * @param id
     * @return
     */
    boolean removeAvatarById(String id);

    /**
     * 查询课程信息
     * @param id
     * @return
     */
    Map<String,Object> selectTeacherInfoById(String id);

    /**
     * 查询推荐讲师
     * @return
     */
    List<Teacher> selectHotTeacher();
}
